/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:RoleQO
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.qo;

import java.util.List;
import com.yjhl.framework.dao.query.QO;

/**
 * query class for Role 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class RoleQO extends QO {
    private static final long serialVersionUID = 1L;
    
    /**
     * 角色表标识
     */
    private String roleId;    
    private List<String> roleId_list;
    private String roleId_notnull = "N";
    private String roleId_notequal;
    private boolean roleId_like;
    
    /**
     * 角色名称
     */
    private String roleName;    
    private List<String> roleName_list;
    private String roleName_notnull = "N";
    private String roleName_notequal;
    private boolean roleName_like;
    
    /**
     * 角色描述
     */
    private String roleDesc;    
    private List<String> roleDesc_list;
    private String roleDesc_notnull = "N";
    private String roleDesc_notequal;
    private boolean roleDesc_like;
    
    public String getRoleId() {
        return roleId;
    }
    
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public List<String> getRoleId_list() {
        return roleId_list;
    }
    
    public void setRoleId_list(List<String> roleId_list) {
        this.roleId_list = roleId_list;
    }
    public String getRoleId_notequal() {
        return roleId_notequal;
    }
    
    public void setRoleId_notequal(String roleId_notequal) {
        this.roleId_notequal = roleId_notequal;
    }
    public String getRoleId_notnull() {
        return roleId_notnull;
    }
    
    public void setRoleId_notnull(String roleId_notnull) {
        this.roleId_notnull = roleId_notnull;
    }
    
    public boolean isRoleId_like() {
        return roleId_like;
    }
    
    public void setRoleId_like(boolean roleId_like) {
        this.roleId_like = roleId_like;
    }
    
    public String getRoleName() {
        return roleName;
    }
    
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
    public List<String> getRoleName_list() {
        return roleName_list;
    }
    
    public void setRoleName_list(List<String> roleName_list) {
        this.roleName_list = roleName_list;
    }
    public String getRoleName_notequal() {
        return roleName_notequal;
    }
    
    public void setRoleName_notequal(String roleName_notequal) {
        this.roleName_notequal = roleName_notequal;
    }
    public String getRoleName_notnull() {
        return roleName_notnull;
    }
    
    public void setRoleName_notnull(String roleName_notnull) {
        this.roleName_notnull = roleName_notnull;
    }
    
    public boolean isRoleName_like() {
        return roleName_like;
    }
    
    public void setRoleName_like(boolean roleName_like) {
        this.roleName_like = roleName_like;
    }
    
    public String getRoleDesc() {
        return roleDesc;
    }
    
    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }
    public List<String> getRoleDesc_list() {
        return roleDesc_list;
    }
    
    public void setRoleDesc_list(List<String> roleDesc_list) {
        this.roleDesc_list = roleDesc_list;
    }
    public String getRoleDesc_notequal() {
        return roleDesc_notequal;
    }
    
    public void setRoleDesc_notequal(String roleDesc_notequal) {
        this.roleDesc_notequal = roleDesc_notequal;
    }
    public String getRoleDesc_notnull() {
        return roleDesc_notnull;
    }
    
    public void setRoleDesc_notnull(String roleDesc_notnull) {
        this.roleDesc_notnull = roleDesc_notnull;
    }
    
    public boolean isRoleDesc_like() {
        return roleDesc_like;
    }
    
    public void setRoleDesc_like(boolean roleDesc_like) {
        this.roleDesc_like = roleDesc_like;
    }
    

    @Override
	public String toString(){
		
		String toString = "{";
		  	 if(this.roleId != null){
		   	 	toString += (this.roleId+",");
		   	 }
		  	 if(this.roleName != null){
		   	 	toString += (this.roleName+",");
		   	 }
		  	 if(this.roleDesc != null){
		   	 	toString += (this.roleDesc+",");
		   	 }
		  if(toString.lastIndexOf(",") == ( toString.length()-1)){
		  	toString = toString.substring(0, toString.length()-1);
		  }
		 toString += "}";
		return toString;
		
	}
	
	public String inputDescription(){
		
		String inputDescription = "{";
		   if(this.roleId != null){
		   		inputDescription += (this.roleId+" : 角色表标识,");
		   }
		   if(this.roleName != null){
		   		inputDescription += (this.roleName+" : 角色名称,");
		   }
		   if(this.roleDesc != null){
		   		inputDescription += (this.roleDesc+" : 角色描述,");
		   }
		  if(inputDescription.lastIndexOf(",") == ( inputDescription.length()-1)){
		  	inputDescription = inputDescription.substring(0, inputDescription.length()-1);
		  }
		  inputDescription += "}";
		
		return inputDescription;
		
	}
}
